package com.tsd.system.dao;

import com.tsd.core.vo.PageBean;
import com.tsd.system.entity.SysGroupRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：SysGroupRoleMapper
 *
 * @author Hillpool
 * @date 2019/03/12 12:20:51
 */
public interface SysGroupRoleMapper {

    SysGroupRole selectByPrimaryKey(Long id);

    List<SysGroupRole> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    int deleteByPrimaryKey(Long id);

    int insert(SysGroupRole record);

    int insertSelective(SysGroupRole record);

    int updateByPrimaryKey(SysGroupRole record);

    int updateByPrimaryKeySelective(SysGroupRole record);

    SysGroupRole selectBySysGroupRole(SysGroupRole record);

    List<SysGroupRole> selectByGroupSid(String groupSid);
}
